<template>
	<div class="createQuestionnaire w944">
		<div class="label_top">
			<p>{{updateTitle}}</p>
			<em @click="cancel">返回</em>
		</div>
	</div>
</template>

<script>
	export default{
		data(){
			return{
				updateTitle:'创建直播满意度问卷',
				nowType:'',
			}
		},
		methods:{
			getParams() {
				let that = this;
				var routerParams = this.$route.params.type;
				if(routerParams == 'edit') {
					that.nowType = 'edit';
					that.addOrTitle = "编辑直播满意度问卷";
				} else {
					that.nowType = 'add';
				}
				console.log('添加直播:',this.$route.params);
			},
		},
		mounted(){
			this.getParams();
		}
	}
</script>

<style>
</style>